package com.shopx.auth.model;

import com.shopx.auth.bean.SysUser;
import com.shopx.auth.bean.SysUserAdd;
import com.shopx.sys.dto.CpTreeShowDTO;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SysUserModel extends SysUser implements Serializable {
  private Integer pageStart;
  private Integer pageLength;
  private Integer isPage;
  private String sessionId;
  private String roleCodes;
  private String roleType;
  private String roleTypes;
  private String roleTypesName;
  private String[] roleCodesChk;
  private String roleCode;
  private String roleNames;
  private String roleMenu;
  private String entryBeginTm;
  private String entryEndTm;
  private String quitBeginTm;
  private String quitEndTm;
  private String tokenId;
  private String cpName;
  private String orgName;
  private String orgId;
  private String orgIds;
  private String[] orgIdChk;
  private String[] excloudRoleCode;
  private String ids;
  private String cpId;
//  private String userOrgId;
//  @NotNull(message = "请填写验证码")
//  private String randomCode;
  /**
   * 不展示平台管理员标识
   */
  private String adminFlag;

  /**
   * 用户附加属性
   */
  SysUserAdd userAdd;
  private String stateDesc;
  /**
   * 用户公司列表
   */
  private List<SysUserCpModel> cpList;

  private List<SysUserOrgModel> orgList;
  /**
   * 手机端登录角色（手机只允许切换某一个角色类型登录）
   */
  private String curRoleType;

  private String roleName;

}
